﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NetworkPower.DataModel.Models.Mapping
{
    public class MatchedLineMap : EntityTypeConfiguration<MatchedLine>
    {
        public MatchedLineMap()
        {
            this.HasKey(t => t.MathchedLineId);

            this.Property(t => t.RuleTypeId).HasColumnName("RuleTypeId");
            this.Property(t => t.CircuitNo).HasColumnName("CircuitNo");
            this.Property(t => t.StartLoopLineId).HasColumnName("StartLoopLineId");
            this.Property(t => t.EndLoopLineId).HasColumnName("EndLoopLineId");
        }
    }
}
